
function addInfo(id) {
    $.ajax({
        type:"GET",
        contentType:"application/x-www-form-urlencoded",
        url:"http://localhost:8089/feiyi/getId",
        data:{
            "id":id,
        },
        xhrFields:{withCredentials:true},
        success:function (data) {
            console.info(data);
        },
        //失败的回调函数
        error:function (data) {
            console.log(data.statusText)
        }
    });
}

window.addInfo = function (id) {
    debugger
}